Optimal. Leaf size=55 \[ \frac {1}{2} b e^a x^m (-b x)^{-m} \Gamma (-1+m,-b x)+\frac {1}{2} b e^{-a} x^m (b x)^{-m} \Gamma (-1+m,b x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3389, 2212}
\begin {gather*} \frac {1}{2} e^a b x^m (-b x)^{-m} \text {Gamma}(m-1,-b x)+\frac {1}{2} e^{-a} b x^m (b x)^{-m} \text {Gamma}(m-1,b x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2212
Rule 3389
Rubi steps
\begin {align*} \int x^{-2+m} \sinh (a+b x) \, dx &=\frac {1}{2} \int e^{-i (i a+i b x)} x^{-2+m} \, dx-\frac {1}{2} \int e^{i (i a+i b x)} x^{-2+m} \, dx\\ &=\frac {1}{2} b e^a x^m (-b x)^{-m} \Gamma (-1+m,-b x)+\frac {1}{2} b e^{-a} x^m (b x)^{-m} \Gamma (-1+m,b x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 51, normalized size = 0.93 \begin {gather*} \frac {1}{2} b e^{-a} x^m \left (e^{2 a} (-b x)^{-m} \Gamma (-1+m,-b x)+(b x)^{-m} \Gamma (-1+m,b x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 5 vs. order
4.
time = 0.19, size = 67, normalized size = 1.22
method | result | size |
meijerg | \(\frac {x^{-1+m} \hypergeom \left (\left [-\frac {1}{2}+\frac {m}{2}\right ], \left [\frac {1}{2}, \frac {1}{2}+\frac {m}{2}\right ], \frac {b^{2} x^{2}}{4}\right ) \sinh \left (a \right )}{-1+m}+\frac {b \,x^{m} \hypergeom \left (\left [\frac {m}{2}\right ], \left [\frac {3}{2}, 1+\frac {m}{2}\right ], \frac {b^{2} x^{2}}{4}\right ) \cosh \left (a \right )}{m}\) | \(67\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.09, size = 55, normalized size = 1.00 \begin {gather*} \frac {1}{2} \, \left (b x\right )^{-m + 1} x^{m - 1} e^{\left (-a\right )} \Gamma \left (m - 1, b x\right ) - \frac {1}{2} \, \left (-b x\right )^{-m + 1} x^{m - 1} e^{a} \Gamma \left (m - 1, -b x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.08, size = 86, normalized size = 1.56 \begin {gather*} \frac {\cosh \left ({\left (m - 2\right )} \log \left (b\right ) + a\right ) \Gamma \left (m - 1, b x\right ) + \cosh \left ({\left (m - 2\right )} \log \left (-b\right ) - a\right ) \Gamma \left (m - 1, -b x\right ) - \Gamma \left (m - 1, -b x\right ) \sinh \left ({\left (m - 2\right )} \log \left (-b\right ) - a\right ) - \Gamma \left (m - 1, b x\right ) \sinh \left ({\left (m - 2\right )} \log \left (b\right ) + a\right )}{2 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int x^{m-2}\,\mathrm {sinh}\left (a+b\,x\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________